package com.wunu.zn.api.appliance.service;

import org.springframework.stereotype.Component;

import net.sf.json.JSONObject;
@Component 
public interface IDevMessageCached {

	/**
	 * 保存设备 message
	 * @param devId
	 * @param obj message
	 */
	public void set(String devId,String obj);
	
	/**
	 * 获取message
	 * @param devId
	 * @return
	 */
	public String get(String devId);
	
	/**
	 * 删除缓存信息
	 * @param devId
	 */
	public void remove(String devId);
}
